---
layout: page
type: article
---

{%- include snippets/assign.html
  target = site.data.variables.default.page.sharing
  source0=layout.sharing source1=page.sharing -%}
{%- assign _sharing = __return -%}


{%- include snippets/assign.html
  target=site.data.variables.default.page.show_author_profile
  source0=layout.show_author_profile source1=page.show_author_profile -%}
{%- assign _show_author_profile = __return -%}

{%- include snippets/assign.html
  target=site.data.variables.default.page.license
  source0=layout.license source1=page.license -%}
{%- assign _license = __return -%}

<div class="layout--article">

  <div class="article__content" itemprop="articleBody">{{ content }}</div>

  {%- if _sharing != false -%}
    <section class="article__sharing">{%- include sharing.html -%}</section>
  {%- endif -%}

  <footer class="article__footer">
    {%- if page.modify_date -%}
      {%- include snippets/locale-to-string.html locale=site.data.locale.ARTICLE_DATE_FORMAT -%}
      {%- assign _locale_date_format = __return -%}

      {%- include snippets/locale-to-string.html locale=site.data.locale.LAST_UPDATED -%}
      {%- assign _locale_last_update = __return -%}
      <span>{{ _locale_last_update }}
        <time itemprop="dateModified" datetime="{{ page.modify_date | date_to_xmlschema }}">{{ page.modify_date | date: _locale_date_format }}</time>
      </span>
    {%- elsif page.date -%}
      <meta itemprop="dateModified" content="{{ page.date | date_to_xmlschema }}">
    {%- endif -%}
    {%- include article-footer/custom.html -%}

    {%- if _show_author_profile -%}
      {%- if page.author -%}
        {%- assign _author = site.data.authors[page.author] -%}
      {%- else -%}
        {%- assign _author = site.author -%}
      {%- endif -%}
      {%- include article-footer/author-profile.html author=_author -%}
    {%- endif -%}

    {%- if _license != false -%}
      {%- assign _data_license = site.data.licenses-%}
      {%- if site.license -%}
        {%- assign _license_data = _data_license[site.license] -%}
      {%- endif -%}
      {%- if _license != true -%}
        {%- assign _license_data = _data_license[_license] -%}
      {%- endif -%}
      <div class="article__license">
        {%- include article-footer/license.html license=_license_data -%}
      </div>
    {%- endif -%}
  </footer>

  {%- include article-section-navigator.html -%}

</div>

<script>
  {%- include scripts/article.js -%}
</script>